﻿using Coldairarrow.Entity.PB;
using Coldairarrow.Util;
using System.Collections.Generic;
using System.Threading.Tasks;

namespace Coldairarrow.Business.PB
{
    public partial interface IPB_TransportBillGroupBusiness
    {
        Task<PageResult<PB_TransportBillGroup>> GetDataListAsync(PageInput<ConditionDTO> input);
        Task<PB_TransportBillGroup> GetTheDataAsync(string id);
        Task AddDataAsync(PB_TransportBillGroup data);
        Task UpdateDataAsync(PB_TransportBillGroup data);
        Task DeleteDataAsync(List<string> ids);
        Task AddDataAsync(List<PB_TransportBillGroup> data);
        Task DeleteOtherIdDataAsync(object where);
        Task AddDatainfo(PB_TransportBillGroup data);
        Task UpdateDatainfo(PB_TransportBillGroup data);

        /// <summary>
        /// 初始化PB_TransportBillGroup表数据
        /// 只作用2022-03更新生产库使用
        /// </summary>
        /// <returns></returns>
        Task RechargeBillGroupAsync();
    }
}